package com.macro.mall.portal.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.portal.domain.UserRoll;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 用户领取消费卷记录 Mapper 接口
 *
 * @author
 * @since 2021-09-11
 */
public interface UserRollMapper extends BaseMapper<UserRoll> {


    @Select("select create_time from loan_plan where date(create_time) = date_sub(curdate(),interval 1 day); ")
    List<UserRoll> getAll();
}
